#include("layout.html")
#@layout()
#define content()
#set(readerId = getReaderId())
<h3>我借的</h3>
#set(bookidlist = toFindMyBorrowed(readerId))
#for(x : bookidlist)
#set(booklist = toFindById(x.book_id))
<div class="col-md-2">
    <div class="thumbnail">
        <img src="#(booklist[0].imgsrc)" alt="#(booklist[0].bookname)">
        <div class="caption">
            <h4>#(booklist[0].bookname)</h4>
            <abbr title="借书时间：">借书时间：#(x.borrow_date)</abbr>
        </div>
        <a href="back?bookid=#(booklist[0].id)" class="btn btn-default" role="button">还书</a>
    </div>
</div>
#end
#end